// import {API_ROOT} from '@/config/env.js'
// const ROOT = 'https://vuesc.new.zhishangez.com';

let site_value = 1;
let site_list = [
	{
		value: 1,
		url: 'http://27.128.198.62:16661',
		title: '生成系统',
	},
]
let site_item = site_list.find(v => v.value == site_value)
const ROOT = site_item.url;


export const IS_MAIN_PACKAGE = site_value == 0;//是否主包项目 适用于更新场景


/**
 * 全局接口请求根域名
 */

export const IS_OPEN_DEV = 1;

export const SITE_ROOT = ROOT;

export const API_ROOT = ROOT + '/admin_service.php';

// 商城类型 - 空-默认国内普通商城  foreign-海外商城 (地址管理不一样 账号登录注册等)
export const SHOP_TYPE = '';



export const UPLOAD_ROOT = process.env.NODE_ENV !== "production" ? ROOT + '/admin_service.php' : '/admin_service.php';

/**
 * 全局资源根路径
 */
export const ASSETS_ROOT = ROOT + '/site-assets/';